From 82f252fdad74c0bc51c5209105d6d0ef22f01cc8 Mon Sep 17 00:00:00 2001 From: justbur Date: Wed, 8 Jul 2015 20:39:27 -0400 Subject: [PATCH] Possible fix for #18 --- which-key.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index 1d93066c9ed..46961a014f4 100644 --- a/which-key.el +++ b/which-key.el @@ -177,7 +177,8 @@ Used when `which-key-popup-type' is frame.") "Fill which-key--buffer with key descriptions and reformat. Finally, show the buffer." (let ((prefix-keys (this-single-command-keys))) - (when (> (length prefix-keys) 0) + (when (and (> (length prefix-keys) 0) + (not (symbolp (key-binding prefix-keys)))) (let* ((buf (current-buffer)) ;; get formatted key bindings (fmt-width-cons (which-key/get-formatted-key-bindings buf prefix-keys)) -- 2.30.2